Query for returning the contents of a specified dispatch note for the customer of context as an HTML string.Query for returning the contents of a specified dispatch note for the customer of context as an HTML string. Introduced in v2.21.1.
Method | GetDispatchNoteDetailView |
The request body is of type GetDispatchNoteDetailView.
Name | Description | Data Type |
---|---|---|
DispatchNoteNumber | The Dispatch Note number. | xml:string |
// Example: Retrieve detail data header and HTML view // for Dispatch Note number 000000000000073 MakeAJAXCall("Fulfillment.GetDispatchNoteDetailView", { DispatchNoteNumber: '000000000000073' }, console.log)
The response body is of type GetDispatchNoteDetailViewResponse.
Name | Description | Data Type |
---|---|---|
GetDispatchNoteDetailViewResult | A string value containing a JSON object. { "Data": { "DispatchNote": "000000000000073", "SalesOrder": "4433", "Customer": "000000000000004", "CustomerName": "Bikes and Blades - East", "ShippingInstrs": "Test 1", "ShippingInstrsCod": "S", "SpecialInstrs": "", "DispatchComments1": "[Drop Ship]", "DispatchComments2": "", "DispatchComments3": "", "DispatchComments4": "", "UserField1": "", "UserField2": "", "Salesperson": "300", "Branch": "30", "Area": "E", "Currency": "$", "CurrencyDescription": "Local Currency", "DiscPct1": " 0.00", "DiscPct2": " 0.00", "DiscPct3": " 0.00", "OrderType": "T", "InvTermsOverride": "1", "TaxExemptFlag": "E", "TaxExemptOverride": "E", "DispatchName": "barb smith", "PlannedDeliverDate": "2000-01-01", "ActualDeliveryDate": "2022-02-23", "ShipAddressFlag": "", "CustomerPoNumber": "11", "CompanyTaxNo": "", "Invoice": "100672", "InvoiceCreatedDate": "2022-02-23", "DateLastInvPrt": "", "ConsolidateInvFlag": "", "TaxExemptNumber": "", "DispatchNoteStatus": "9", "Reason": "", "StatusWhenHeld": "7", "Nationality": "", "DeliveryTerms": "", "TransactionNature": "0", "TransportMode": "0", "ProcessFlag": "0", "WebCreated": "", "Email": "sbrown@bikesblades.com", "DispatchCustName": "barb smith", "DispatchAddress1": "", "DispatchAddress2": "22 E main", "DispatchAddress3": "worcrester", "DispatchAddrLoc": "", "DispatchAddress4": "MB", "DispatchAddress5": "CA", "DispatchPostalCode": "01608", "DispatchGpsLat": " 0.000000", "DispatchGpsLong": " 0.000000", "State": "", "CountyZip": "", "ExtendedTaxCode": "", "MultiShipCode": "", "Quote": "", "GtrReference": "", "Language": "05", "Language2": "EN", "CssStyle": "", "DecFormat": "1", "DateFormat": "01" }, "Html": "<HTML xmlns:TBLART=\"TBLART\" xmlns:SALBRN=\"SALBRN\" xmlns:SALARE=\"SALARE\" xmlns:SALSLS=\"SALSLS\"><HEAD><title>\n Dispatch Lookup\n </title><script type=\"text/javascript\" language=\"javascript\" src=\"../../main/scripts/query.js\"></script></HEAD><BODY><table class=\"orderdisplayTable\" border=\"0\"><tr><td class=\"orderdisplayTitle\" align=\"center\" colspan=\"5\">\n Dispatch Note - 000000000000073</td></tr><tr><td class=\"orderdisplayLabel\" nowrap=\"on\" width=\"30\">Customer Number\">Bikes and Blades - East</td><td class=\"orderdisplayField\" /><td rowspan=\"7\" class=\"orderdisplayLabel\" nowrap=\"on\" valign=\"top\" width=\"10\">\n Ship To\">barb smith</td></tr><tr><td class=\"orderdisplayLabel\" nowrap=\"on\">Date of Delivery:</td><td class=\"orderdisplayField\" nowrap=\"on\">2022-02-23</td><td class=\"orderdisplayField\" nowrap=\"on\"></td><td class=\"orderdisplayField\" nowrap=\"on\"></td></tr><tr><td class=\"orderdisplayLabel\" nowrap=\"on\">Invoice Number:</td><td class=\"orderdisplayField\" nowrap=\"on\" colspan=\"2\">100672</td><td class=\"orderdisplayField\" nowrap=\"on\">22 E main</td></tr><tr><td class=\"orderdisplayLabel\" nowrap=\"on\">Invoice Amount:</td><td class=\"orderdisplayField\" nowrap=\"on\"></td><td></td><td class=\"orderdisplayField\" nowrap=\"on\">worcrester</td></tr><tr><td class=\"orderdisplayLabel\" nowrap=\"on\">Shipping Method:</td><td class=\"orderdisplayField\" nowrap=\"on\" colspan=\"2\">Test 1</td><td class=\"orderdisplayField\" nowrap=\"on\">MB</td></tr><tr><td class=\"orderdisplayLabel\" nowrap=\"on\">Tracking Number:</td><td class=\"orderdisplayField\" nowrap=\"on\" colspan=\"2\"></td><td class=\"orderdisplayField\" nowrap=\"on\">CA</td></tr><tr><td colspan=\"5\"><br /><table width=\"100%\" align=\"center\" cellpadding=\"5\" cellspacing=\"0\" border=\"0\"><tr class=\"detailhdg2\" valign=\"bottom\"><td class=\"orderdisplaydetailLabel\" nowrap=\"on\">\n Stock Code\n </td><td class=\"orderdisplaydetailLabel\">\n Description\n </td><td class=\"orderdisplaydetailLabel\">Qty</td></tr><tr class=\"TableRow\"><td class=\"orderdisplaydetailField\" nowrap=\"on\">A100</td><td class=\"orderdisplaydetailField\" nowrap=\"on\">Boys 15 Speed Mountain Bike</td><td class=\"orderdisplaydetailField\" nowrap=\"on\" align=\"right\">1</td></tr><tr class=\"HighlightTableRow\"><td class=\"orderdisplaydetailField\" colspan=\"10\" style=\"text-indent:10px\">Please make sure that you purchase the</td></tr><tr class=\"TableRow\"><td class=\"orderdisplaydetailField\" colspan=\"10\" style=\"text-indent:10px\">correct bicycle accessories.</td></tr><tr class=\"HighlightTableRow\"></tr></table></td></tr></table></BODY></HTML>", "Result": { "Success": true, "Message": "The request returned the detail view for Dispatch Note 000000000000073", "ElapsedTime": "301 ms" } }
| xml:string |